Skip to content

Add device pair - #30

Merged
siliconwitch merged 1 commit into
mainfrom
dev-device-transport
Aug 27, 2026
Merged

Add device pair#30
siliconwitch merged 1 commit into
mainfrom
dev-device-transport

Conversation

@siliconwitch

Copy link
Copy Markdown
Member

Adds the device pairing command to the management CLI.

  • accept device pair <fleet_id> [name]
  • make the device name optional without changing positional compatibility
  • show pair first in the Devices help list
  • wait long enough for the server and firmware confirmation round trip
  • keep user-facing errors and confirmation output at the device/fleet level

Verification:

  • CGO_ENABLED=0 gofmt -l .
  • CGO_ENABLED=0 go mod tidy left go.mod and go.sum unchanged
  • CGO_ENABLED=0 go vet ./...
  • CGO_ENABLED=0 go test ./...
  • CGO_ENABLED=0 go build ./...
  • git diff --check
  • the named command paired a bench device through a compatible local server and firmware and returned success after device acknowledgement

Accept an IMEI, fleet, and optional name, then wait for the device to confirm pairing.
@siliconwitch
siliconwitch merged commit 862a19e into main Aug 27, 2026
2 checks passed
@siliconwitch
siliconwitch deleted the dev-device-transport branch August 27, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant